package com.xhwl.logistics.service.http;

import com.xhwl.logistics.dto.http.*;
import com.xhwl.logistics.dto.http.query.QueryCommonCoSonDTO;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;

import java.util.List;

public interface ICoSonHttpService {

    @POST("Api/Inquire/GetRemainingSpace")
    Call<ResponseCoSonDTO<CarportCoSonDTO>> getSpace(@Body QueryCommonCoSonDTO queryCommonCoSonDTO);

    @POST("Api/Inquire/GetParkInfo")
    Call<ResponseCoSonDTO<ParkingLotInfoCoSonDTO>> getParkInfo(@Body QueryCommonCoSonDTO queryCommonCoSonDTO);

    @POST("/Api/Inquire/GetVehicleInfo")
    Call<ResponseCoSonDTO<List<DeviceInfoCoSonDTO>>> getDeviceInfo(@Body QueryCommonCoSonDTO queryCommonCoSonDTO);

}
